package com.atguigu.myzhxy.service;

import com.atguigu.myzhxy.pojo.LoginFrom;
import com.atguigu.myzhxy.pojo.Student;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import org.springframework.stereotype.Service;

/**
 * Created with IntelliJ IDEA.
 * ClassName: StudentService
 * Package: com.atguigu.myzhxy.service.impl
 * Description:
 * User: fzykd
 *
 * @Author: LQH
 * Date: 2023-01-12
 * Time: 15:36
 */

public interface StudentService extends IService<Student> {
    Student login(LoginFrom loginFrom);

    Student getStudentById(Long userId);

    IPage<Student> getStudentByOpr(Page<Student> pageParam, Student student);
}
